package com.wkbb.sports.websocket;

import lombok.Data;

/**
 * @author lbh
 * @date 2021年04月20日 14:57:59
 * @description:  前后端交互约定的message数据格式示例值为：{"code":10002,"data":{"heart":123,"num":1,"username":"李四","msg":"你好呀"}......}
 */
@Data
//public class WebsocketResult<T>  {
public class WebsocketResult {

//    private WebsocketEnum websocketEnum;
    private Integer code;

//    private T data;
    private Object data;
    //private String data;

}
